package com.link.base.base.redpacketconfig.service;

import com.link.base.base.redpacketconfig.model.RedPktDrawCfg;
import com.link.core.basic.service.BasicService;

/**
 * @author: 闫有霞
 * @date: 2019-01-23
 * @comments: 红包领取设置
 */
public interface RedPktDrawCfgService extends BasicService<RedPktDrawCfg> {

    /**
     *@createdBy 闫有霞
     *@date 2019/1/23
     *@methods: loadDrawCfgToRedis
     *@param:   RedPktDrawCfg entity
     *@return:  void
     *@description: 加载红包领取设置数据到Redis
     **/
    public void  loadDrawCfgToRedis(RedPktDrawCfg entity)throws Exception;


    /**
     * @createdBy 闫有霞
     * @date 2019/1/23
     * @methods: insertDrawCfg
     * @param: RedPktDrawCfg entity
     * @return: void
     * @description: 添加红包领取设置数据
     **/
    public void  insertDrawCfg(RedPktDrawCfg entity)throws Exception;

    /**
     *@createdBy 闫有霞
     *@date 2019/1/23
     *@methods: updateDrawCfg
     *@param: RedPktDrawCfg entity
     *@return: void
     *@description: 更新红包领取设置数据
     **/
    public void updateDrawCfg(RedPktDrawCfg entity) throws Exception;

}
